Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[http codec] case-insensetive transfer-encoding checks #10055

Merged
merged 5 commits into from
Feb 20, 2020

Conversation

veshij
Copy link
Contributor

@veshij veshij commented Feb 13, 2020

Signed-off-by: Oleg Guba oleg@dropbox.com
Description: Per RFC7230: Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing transfer-coding names are case-insensitive:

All transfer-coding names are case-insensitive and ought to be
registered within the HTTP Transfer Coding registry, as defined in
Section 8.4. They are used in the TE (Section 4.3) and
Transfer-Encoding (Section 3.3.1) header

Risk Level: Low
Testing: unit test
Docs Changes: None
Release Notes: None
Fixes #10041

@veshij veshij changed the title [http codec] case-insensetive transfer-encoding checks, Fixes #10041 [http codec] case-insensetive transfer-encoding checks Feb 13, 2020
Signed-off-by: Oleg Guba <oleg@dropbox.com>
@mattklein123
Copy link
Member

Can you merge master? caseCompare just got removed in place of an absl utility function. Otherwise LGTM. Thank you!

/wait

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Signed-off-by: Oleg Guba <oleg@dropbox.com>
@veshij
Copy link
Contributor Author

veshij commented Feb 19, 2020

Can you merge master? caseCompare just got removed in place of an absl utility function. Otherwise LGTM. Thank you!

/wait

done

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mattklein123 mattklein123 merged commit 7a8e9da into envoyproxy:master Feb 20, 2020
lambdai added a commit to lambdai/envoy-dai that referenced this pull request Jun 2, 2020
)

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Co-authored-by: Yuchen Dai <silentdai@gmail.com>
istio-testing pushed a commit to istio/envoy that referenced this pull request Jun 3, 2020
) (#218)

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Co-authored-by: Yuchen Dai <silentdai@gmail.com>

Co-authored-by: Oleg Guba <oleg@dropbox.com>
@andrijaperovic
Copy link

@mattklein123 do you know if this fix will be merged into release-1.6 branch? I see the commit is only on release-1.5.

@howardjohn
Copy link
Contributor

@andrijaperovic release-1.6 is an Istio thing - not envoy. But it is, see istio@7a8e9da60b

@andrijaperovic
Copy link

@howardjohn I see tags 1.7.0-alpha.2 for the commit you shared, also it is present on master. Should I expect to see a 1.6.x tag as well?

@howardjohn
Copy link
Contributor

We didn't tag istio/envoy until recently. You can look at the git logs though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transfer-Encoding value is case-insensitive by RFC.
5 participants